Jump to content

Dynamic variable names: Difference between revisions

m
(Added Quackery.)
Line 913:
{$ENDIF}
 
(*)
* Free Pascal Compiler version 3.2.0 [2020/06/14] for x86_64
* The free and readable alternative
* compiles natively to almost any platform, including raspberry PI
*
* This demo uses a dictionary because it is compiled: it cannot make
* dynamic variables at runtime.
(*)
 
uses
Line 942:
 
FUNCTION SetType ( strVal: ansistring ): variant;
(*)
(* If the value is numeric, store it as numeric, otherwise store it as ansistring *)
(*)
BEGIN
TRY
122

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.