Data update

This commit is contained in:
Ingy döt Net 2026-02-01 16:33:20 -08:00
parent 5150844a7d
commit 4bb20c9b71
7735 changed files with 38060 additions and 199180 deletions

View file

@ -19,4 +19,4 @@ class TestClass
}
}
public program = new TestClass();
public Program = new TestClass();

View file

@ -1 +0,0 @@
(set (intern (read-string "Enter variable name: ")) 123)

View file

@ -1,2 +1,2 @@
(let var-name "hello")
((eval (str "(var " var-name ")")) 123)
((eval "(var {var-name})") 123)

View file

@ -1,2 +1,2 @@
(let var-name "hello")
(eval (str "(var " var-name " 123)"))
(eval "(var {var-name} 123)")

View file

@ -1,3 +0,0 @@
$variableName = Read-Host
New-Variable $variableName 'Foo'
Get-Variable $variableName

View file

@ -1,14 +0,0 @@
REBOL [
Title: "Dynamic Variable Name"
URL: http://rosettacode.org/wiki/Dynamic_variable_names
]
; Here, I ask the user for a name, then convert it to a word and
; assign the value "Hello!" to it. To read this phrase, realize that
; REBOL collects terms from right to left, so "Hello!" is stored for
; future use, then the prompt string "Variable name? " is used as the
; argument to ask (prompts user for input). The result of ask is
; converted to a word so it can be an identifier, then the 'set' word
; accepts the new word and the string ("Hello!") to be assigned.
set to-word ask "Variable name? " "Hello!"