Skip to content
Commit 658eabf3 authored by Manfred Hanke's avatar Manfred Hanke 💻
Browse files

avoiding syntax that is only available with S-Lang >= pre2.2.3-39

change #39 since S-Lang 2.2.2:

Added a syntax enhancement to structs and qualifiers to allow the
fields of structure-valued expressions to be used to define the
structure.  For example:

   space = struct {x, y, z};
   spacetime = struct {@space, t};

Here spacetime is a structure containing 4 fields: (x,y,z,t).  In
this context, @ is not a dereference operator.  Rather it is used to
tell the parser that the following expression is a structure valued.
parent f649646d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment