Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!pt.cs.cmu.edu!dsl.pitt.edu!pitt!willett!ForthNet From: ForthNet@willett.pgh.pa.us (ForthNet articles from GEnie) Newsgroups: comp.lang.forth Subject: ANS FORTH TECHNICAL COMMITTEE Message-ID: <1625.UUL1.3#5129@willett.pgh.pa.us> Date: 29 Aug 90 02:38:26 GMT Organization: String, Scotch tape, and Paperclips. (in Pgh, PA) Lines: 70 Category 10, Topic 2 Message 230 Tue Aug 28, 1990 D.RUFFER [Dennis] at 01:00 EDT Re: B.RODRIGUEZ2 [Brad R.] > what's this ENVIRONMENT? thing which takes a string argument? 7.1345 ENVIRONMENT?[730] "environment-query" CORE ( b-addr u -- value true ) (known) or -- false ) (unknown) b-addr is the address of a text string and [ED] u is the string's character count. u may have a value in the range from 0 to an implementation-defined maximum which may not be less than 31. The text string should contain [ED] a keyword from the table below [ED] to be checked for correspondence with an attribute of the present environment. If the system treats the attribute [ED] as unknown, the returned flag is false; otherwise, the flag is true and the value returned is of the type specified in the table for the attribute queried. [ED] Name Type Interpretation /ALIGN n alignment granularity, in address units of an aligned address. /CHAR n size of a character in address units /COUNTED-STRING n maximum number of characters in a counted string /DATA-SPACE n size of the aligned data space in address units /HOLD n maximum size of a pictured numeric output string in address units /PAD n size of the scratch area pointed to by PAD, in address units /TIB n size of the text input buffer in address units ADDRESS-UNIT-BITS n Size of one address unit in bits BLOCK flag block word set present BLOCK-EXT flag block extension word set present CORE flag core word set present CORE-EXT flag core extension word set present DOUBLE flag double number word set present DOUBLE-EXT flag double extension word set present FAR-MEMORY flag far memory word set present FAR-MEMORY-EXT flag far memory extension word set present FILE flag file word set present FILE-EXT flag file extension word set present FLOATING flag floating-point word set present FLOATING-EXT flag floating-point extension word set present FULL flag full compliance LOCALS flag locals word set present LOCALS-EXT flag locals extension word set present MAX-D d the largest usable signed double number MAX-FLOAT r the largest usable floating-point number MAX-N n the largest usable signed integer MAX-U u the largest usable unsigned integer MAX-UD ud the largest usable unsigned double number MEMORY-ALLOC flag memory allocation word set present MEMORY-ALLOC-EXTflag memory allocation extension word set present RETURN-STACK-CELLS n the maximum size of the return stack in cells SEARCH-ORDER flag search order word set present SEARCH-ORDER-EXTflag search order extension word set present STACK-CELLS n the maximum size of the data stack in cells STRING flag string word set present STRING-EXT flag string extension word set present WORDLISTS n the maximum number of wordlists usable in a fixed search order ----- This message came from GEnie via willett through a semi-automated process. Report problems to: uunet!willett!dwp or dwp@willett.pgh.pa.us