Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Forth > Re: & in A rati...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 7 Topic 4047 of 4053
Post > Topic >>

Re: & in A rationale for ARRAYs in the Forth Scientific Library

by "C. G. Montgomery" <cgm@[EMAIL PROTECTED] > May 9, 2008 at 07:51 PM

Michael michael.kalus@[EMAIL PROTECTED]
 wrote:

> In "A rationale for ARRAYs in the Forth Scientific Library"
> http://www.taygeta.com/fsl/docs/fsl_arrays.html
> I found this phrase:
> 
> & name{ #elements }malloc
> 
> What does the character & indicate at the beginning of the line?
> In that document it is also used this way:
> 
> a{ & b{ &!
> 
> Is & a forth word? How about &! ?
> 
> Michael

The words & and &! are among those defined in the fsl-util files in the
Auxiliary code provided with the Library:
http://www.taygeta.com/fsl/scilib.html

Unfortunately, these and a number of other FSL words are defined only by a
particular implementation rather than fully specified, so other
implementations may provide the same functionality differently.  In other
words, full phrases such as the ones you quote, have standard effects,
while the individual words may behave differently.

In any case, reading a fsl-util file along with "A rationale for arrays"
is probably a practical necessity.  Similarly, "A rationale for
Structures" may require reference to the Structures package, structs.seq.

(If you are just beginning to explore the FSL, feel free to let me know by
email if you encounter puzzles.)

regards   cgm




 7 Posts in Topic:
& in A rationale for ARRAYs in the Forth Scientific Library
Michael <michael.kalus  2008-05-09 11:57:42 
Re: & in A rationale for ARRAYs in the Forth Scientific Library
"C. G. Montgomery&qu  2008-05-09 19:51:18 
Re: & in A rationale for ARRAYs in the Forth Scientific Library
Josh Grams <josh@[EMAI  2008-05-10 11:14:54 
Re: & in A rationale for ARRAYs in the Forth Scientific Library
"C. G. Montgomery&qu  2008-05-10 13:11:25 
Re: & in A rationale for ARRAYs in the Forth Scientific Library
Josh Grams <josh@[EMAI  2008-05-11 12:07:22 
Re: & in A rationale for ARRAYs in the Forth Scientific Library
Michael <michael.kalus  2008-05-11 00:48:42 
Re: & in A rationale for ARRAYs in the Forth Scientific Library
Bruce McFarling <agila  2008-05-11 11:07:41 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Thu May 15 21:49:08 CDT 2008.