Uploaded an exe only with the following
http://powerpro.webeddie.com/download/powerpro.exe
-------------------------
imports (file_expr) * // imports all functions
-----------------------------
You can create multi-line strings by ending a line with ???delim. The string is formed by all the text on the following lines (ignoring escape sequence) in the program, including the end of line carriage returns, until there is a line which starts with delim (case ignored). Any sequence of alphanumerics can be used as delim. Example:
var = "stuff " ++ ???end
line 1
line 2
end
assigns "stuff line 1\rline 2\r" to var.
You can use many ???delim strings and mix with ordinary continuation.
messagebox ("ok", ???e1
text of
message
e1, ???e2
title
of message
e2 ;;+
)
-----------------------------------------------
Note that a statement's total max length is still around 525 chars.
More general includes, general default arg, and multi-classes in one file are too much work.
You can do primitive default for missing args at end like this:
function test(musthave, optional, opt2)
if (arg(0)<2) //arg(0) always set to number of args
optional ="def"
if (arg(0)<3)
opt2 = "def2"
http://powerpro.webeddie.com/download/powerpro.exe
-------------------------
imports (file_expr) * // imports all functions
-----------------------------
You can create multi-line strings by ending a line with ???delim. The string is formed by all the text on the following lines (ignoring escape sequence) in the program, including the end of line carriage returns, until there is a line which starts with delim (case ignored). Any sequence of alphanumerics can be used as delim. Example:
var = "stuff " ++ ???end
line 1
line 2
end
assigns "stuff line 1\rline 2\r" to var.
You can use many ???delim strings and mix with ordinary continuation.
messagebox ("ok", ???e1
text of
message
e1, ???e2
title
of message
e2 ;;+
)
-----------------------------------------------
Note that a statement's total max length is still around 525 chars.
More general includes, general default arg, and multi-classes in one file are too much work.
You can do primitive default for missing args at end like this:
function test(musthave, optional, opt2)
if (arg(0)<2) //arg(0) always set to number of args
optional ="def"
if (arg(0)<3)
opt2 = "def2"