Basic HTML version of Foils prepared 5 August 97

Foil 15 VRML Field to JavaScript variable conversion - I

From VRML97 Scripting: JavaScript Nodes UC Web Applications Certificate -- July 24 1997. by Wojtek Furmanski and Hasan Ozdemir


JavaScript native data types consist of boolean, numeric and string. The language is not typed, so data types are implicit upon assignment.
The VRML SFBool is mapped to the JavaScript boolean. The JavaScript true and false constants, the VRML's TRUE and FALSE values may be used.
The VRML SFInt32, SFFloat and SFTime fields are mapped to the numeric data type and will be maintained in double precision accuracy.



© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Sun Apr 5 1998