October 01, 1999
The Small Scripting Language
(a)
main()
print("Hello world^n");
(b)
new myvar;
(c)
new counter = 0;
(d)
new prompt[] = !"Press any key...";
Example 4: (a) Function with a single statement; (b) declaring a variable; (c) variables may be initialized upon creation; (d) array that holds a packed string.
Copyright © 1999, Dr. Dobb's Journal
|
|
||||||||||||||||||||||||||||
|
|
|
|