Special variables: Difference between revisions

Content deleted Content added
Rdm (talk | contribs)
Rdm (talk | contribs)
m J: tighten up a bit (used wider window when listing names)
Line 43:
===special global variables===
In J 602: Names in locale z are in the path for all locales, including the default locale (base) -- these provide "language features":
<pre style="height:30ex;overflow:scroll"> names_z_ ''
ARGV BINPATH CR CRLF DEL Debug
CRLFEAV DEL EMPTY FF FIXFONT FIXFONTWH IF64 Debug
EAVIFCONSOLE IFGTK EMPTY IFJ6 FF IFJAVA IFJHS IFUNIX
FIXFONTIFWIN FIXFONTWH IFWIN32 IF64 IFWINCE IFWINE IFWINNT JVERSION
IFCONSOLELF IFGTK LF2 IFJ6 Note PROFONT SYSPPC TAB
IFJAVAUNAME IFJHS adverb IFUNIXapply assert bind boxopen
IFWINboxxopen break IFWIN32 bx IFWINCE clear coclass cocreate
IFWINEcocurrent codestroy IFWINNT coerase JVERSION cofullname coinsert coname
LFconames conew LF2 conjunction conl Note copath coreset
PROFONTcutopen SYSPPCdatatype def TAB define do drop
UNAMEdyad adverb each apply edit empty erase every
assertexit bind expand boxopenfetch inv inverse items
boxxopenjcwdpath breakjhostpath jpath bx jpathsep jsystemdefs leaf
clearlist coclass load cocreate loadd loadp mbopen mbsave
monad nameclass namelist names nc nl
cocurrent codestroy coerase
noun on open pick require rows
cofullname coinsert coname
conamesscript conew scriptd scripts setbreak sign sminfo conjunction
conlsmoutput sort copath split startupconsole startupide table coreset
cutopentake datatype tmoutput def toCRLF toHOST toJ tolower
definetoupper type do ucp drop ucpcount utf8 uucp
dyadverb eachwcsize wd edit wdbox wdcenter wdclipread
emptywdclipwrite wde erase wdfit every wdforms wdget wdhandler
exitwdinfo wdishandle expand wdisparent wdmove fetch wdpclose wdqshow
invwdquery wdreset inverse wdselect items wdstatus winpathsep </pre>
jcwdpath jhostpath jpath
jpathsep jsystemdefs leaf
list load loadd
loadp mbopen mbsave
monad nameclass namelist
names nc nl
noun on open
pick require rows
script scriptd scripts
setbreak sign sminfo
smoutput sort split
startupconsole startupide table
take tmoutput toCRLF
toHOST toJ tolower
toupper type ucp
ucpcount utf8 uucp
verb wcsize wd
wdbox wdcenter wdclipread
wdclipwrite wde wdfit
wdforms wdget wdhandler
wdinfo wdishandle wdisparent
wdmove wdpclose wdqshow
wdquery wdreset wdselect
wdstatus winpathsep </pre>
 
Names in the locales j and jijs are available by explicity referencing those locales and are used to provide "system features" and "ide features":
<pre style="height:30ex;overflow:scroll"> names_j_ ''
BOXES BROWSER CONFIRMCLOSE DIRTREEX DISPLAYLOAD
EPSREADER FORMAT FORMSIZES GetSystemMetrics IFJIJX
CONFIRMCLOSE DIRTREEX
INPUTLOG INPUTLOGFILE LOADED P2UPFONT PATHJSEP
DISPLAYLOAD EPSREADER
FORMATPATHSEP PDFREADER PRINTERFONT PRINTOPT PUBLIC FORMSIZES
READONLY SCRIPTS SHOWSIP SMPRINT SM_CMONITORS
GetSystemMetrics IFJIJX
SM_CXVIRTUALSCREEN SM_CYVIRTUALSCREEN SM_XVIRTUALSCREEN SM_YVIRTUALSCREEN STARTUP
INPUTLOG INPUTLOGFILE
LOADEDSYSTEMFOLDERS TARGET P2UPFONT USERFOLDERS WINPOS XDIFF
PATHJSEPaddfname PATHSEPboxdraw buildpublic classwizard cleantable
config cutnames deb debug demos
PDFREADER PRINTERFONT
PRINTOPTdirmatch PUBLICdltb edit editfind editinputlog
READONLYeditinputprompt exist SCRIPTS extijs fexist fif
SHOWSIPfilenewform fileprint SMPRINT fileprintsetup filex fixWINPOS
formedit formeditrun forms fullname getinputlog
SM_CMONITORS SM_CXVIRTUALSCREEN
getpath getscripts gettarget gettargetlocale globaldefs
SM_CYVIRTUALSCREEN SM_XVIRTUALSCREEN
gridwizard help htmlhelp jpath lab
SM_YVIRTUALSCREEN STARTUP
lastactive loadp open openfiles origin
SYSTEMFOLDERS TARGET
USERFOLDERSpacman WINPOS printfiles prints projectmanager save
XDIFFsaveuserfolders scriptmake scripts wpreset wpsave addfname
wpset
boxdraw buildpublic
names_jijs_''
classwizard cleantable
configEMPTY cutnames FIXFONTDEF FKEYS
debFTYPES debug IFIOX IFMAX
demosIFREADONLY dirmatch IFSAVED IFSHOW
dltbJIJS edit JIJSMAC JRECENT
NEWUSER PPSCRIPT QFORMX
editfind editinputlog
editinputpromptRECENT RECENTFILE RECENTLOC exist
extijsRECENTMAX fexist SCMP SMBLK
fifSMDESK filenewform SMHWNDP SMINIT
SMNAME SMPATH SMSEL
fileprint fileprintsetup
filexSMSIZE fixWINPOS SMSTYLE SMTEXT
formeditSMTORG aboutj boxfkeys formeditrun
formsboxskeys fullname checkreadonly cleartemp
getinputlogclose getpath closeijs closeijx
getscriptsclosewindows comparesvn create gettarget
cutpara deb destroy
gettargetlocale globaldefs
gridwizardexitijs help filecase fkeycase
htmlhelpfkeylist jpath fkeyrun fkeyselect
labfkeyselect1 lastactiveflerase flexist
loadpflopen open flread flwrite
openfilesfoldpara origin foldtext getSMSEL
pacmangetactsize printfiles getcascade getcascade1
getcascades getfile getformx
prints projectmanager
savegetline saveuserfolders getsaveas getscrollpos
scriptmakegetselection getskey id2loc scripts
wpresetid2name wpsave id2names id2type
wpsetide_maximize ide_minimize ide_restore
ifshiftkey iftempscript info
names_jijs_ ''
EMPTYintn jijs_aboutj_button jijs_actrl_fkey
FIXFONTDEFjijs_bctrl_fkey jijs_bctrlshift_fkey jijs_cancel
FKEYSjijs_close jijs_close_button jijs_dctrl_fkey
FTYPESjijs_default jijs_demos_button jijs_ectrl_fkey
jijs_ectrlshift_fkey jijs_editconfigure_button jijs_editcopy_button
IFIOX
jijs_editcut_button jijs_editdirmatch_button jijs_editexport_button
IFMAX
IFREADONLYjijs_editfif_button jijs_editfind_button jijs_editformedit_button
jijs_editinputlog_button jijs_editlint_button jijs_editpaste_button
IFSAVED
jijs_editreadonly_button jijs_editredo_button jijs_editselectall_button
IFSHOW
IMMXjijs_editundo_button jijs_f1_fkey jijs_f1ctrl_fkey
JIJSjijs_f1shift_fkey jijs_fctrl_fkey jijs_fctrlshift_fkey
jijs_filecleartemp_button jijs_fileexit_button jijs_filenewclass_button
JIJSMAC
jijs_filenewijs_button jijs_fileopen_button jijs_fileopensystem_button
JRECENT
jijs_fileopenuser_button jijs_fileprint_button jijs_fileprintsetup_button
NEWUSER
PPSCRIPTjijs_filerecent_button jijs_fkeys_button jijs_forms_button
QFORMXjijs_gctrl_fkey jijs_hctrl_fkey jijs_helpconstants_button
jijs_helpcontext_button jijs_helpcontrols_button jijs_helpdictionary_button
RECENT
jijs_helpforeigns_button jijs_helpgeneral_button jijs_helpgl2cmd_button
RECENTFILE
RECENTLOC jijs_helphelp_button jijs_helpindex_button jijs_helpphrases_button
jijs_helpprimer_button jijs_helprelease_button jijs_helprelnotes_button
RECENTMAX
SCMP jijs_helpuser_button jijs_helpvocab_button jijs_helpwdcmd_button
SMBLKjijs_helpwdover_button jijs_ictrl_fkey jijs_jctrl_fkey
SMDESKjijs_kctrl_fkey jijs_kctrlshift_fkey jijs_labadvance_button
SMHWNDPjijs_labauthor_button jijs_labchapters_button jijs_labs_button
SMINITjijs_lctrl_fkey jijs_lctrlshift_fkey jijs_max_button
SMNAMEjijs_mctrl_fkey jijs_nctrl_fkey jijs_nctrlshift_fkey
SMPATHjijs_octrl_fkey jijs_pctrl_fkey jijs_qctrl_fkey
SMSELjijs_rctrl_fkey jijs_rctrlshift_fkey jijs_rundebug_button
SMSIZEjijs_runfile_button jijs_runfiled_button jijs_runline_button
jijs_runpacman_button jijs_runprojman_button jijs_runselection_button
SMSTYLE
SMTEXTjijs_runwindow_button jijs_runwindowd_button jijs_save_button
SMTORGjijs_saveas_button jijs_sctrl_fkey jijs_sellower_button
aboutj jijs_selminus_button jijs_selplus_button jijs_selplusline1_button
boxfkeys jijs_selplusline2_button jijs_selsort_button jijs_seltoggle_button
boxskeysjijs_selupper_button jijs_selwrap_button jijs_tctrl_fkey
jijs_tile_button jijs_tileacross_button jijs_tilecascade_button
checkreadonly
cleartempjijs_togglebox_button jijs_wctrl_fkey jijs_wctrlshift_fkey
closejrecent_cancel jrecent_close jrecent_enter
closeijsjrecent_lb_button jrecent_open_button jrecent_run
closeijxjrecent_run_button jrecent_rund_button jrecent_view_button
lint marksavedid name2id
closewindows
comparesvnnew newijs newijx
createnounrep openijs parentname
cutparapathname pmovex qsmact
debqsmall qsmallforms qsmallijs
destroyqsmlastijs qsmlastxs qsmout
exitijsqsmsize query quote
filecaserdist readid readid16
fkeycasereadonlydefault recent_open recent_put
fkeylistrecent_read recent_run recent_save
fkeyrunresizefont restorefont roundint
fkeyselectruncompare runexport runfile
runimmx0 runimmx1 runline
fkeyselect1
fleraserunselection runwindow save
flexistsaveas saveopenwindows scmp_cancel
flopenscmp_close scmp_close_button scmp_current_button
flreadscmp_original_button scmp_revert_button scmp_run
flwritescmp_show select_line select_text
foldparaset_fkeys set_skey1 set_skeys
foldtextsetfontall setpnall setreadonly
getSMSELsh smappend smclose
getactsizesmfocus smfocusact smfocusout
getcascadesmgetsel smmove smopen
smprompt smread smreplace
getcascade1
smsave smscroll smsel
getcascades
getfilesmselact smselout smsetcmd
getformxsmsetsaved smsetselect smwrite
getlinesysmodifiers tile tile2fit
getsaveastile2fit1 tileacross tilecascade
tileget todelim tofoldername
getscrollpos
togglebox togglereadonly togglexs
getselection
getskeytolist topara ucpboxdraw
id2locunboxfkeys unboxskeys winmax </pre>
id2name
id2names
id2type
ide_maximize
ide_minimize
ide_restore
ifshiftkey
iftempscript
info
intn
jijs_aboutj_button
jijs_actrl_fkey
jijs_bctrl_fkey
jijs_bctrlshift_fkey
jijs_cancel
jijs_close
jijs_close_button
jijs_dctrl_fkey
jijs_default
jijs_demos_button
jijs_ectrl_fkey
jijs_ectrlshift_fkey
jijs_editconfigure_button
jijs_editcopy_button
jijs_editcut_button
jijs_editdirmatch_button
jijs_editexport_button
jijs_editfif_button
jijs_editfind_button
jijs_editformedit_button
jijs_editinputlog_button
jijs_editlint_button
jijs_editpaste_button
jijs_editreadonly_button
jijs_editredo_button
jijs_editselectall_button
jijs_editundo_button
jijs_f1_fkey
jijs_f1ctrl_fkey
jijs_f1shift_fkey
jijs_fctrl_fkey
jijs_fctrlshift_fkey
jijs_filecleartemp_button
jijs_fileexit_button
jijs_filenewclass_button
jijs_filenewijs_button
jijs_fileopen_button
jijs_fileopensystem_button
jijs_fileopenuser_button
jijs_fileprint_button
jijs_fileprintsetup_button
jijs_filerecent_button
jijs_fkeys_button
jijs_forms_button
jijs_gctrl_fkey
jijs_hctrl_fkey
jijs_helpconstants_button
jijs_helpcontext_button
jijs_helpcontrols_button
jijs_helpdictionary_button
jijs_helpforeigns_button
jijs_helpgeneral_button
jijs_helpgl2cmd_button
jijs_helphelp_button
jijs_helpindex_button
jijs_helpphrases_button
jijs_helpprimer_button
jijs_helprelease_button
jijs_helprelnotes_button
jijs_helpuser_button
jijs_helpvocab_button
jijs_helpwdcmd_button
jijs_helpwdover_button
jijs_ictrl_fkey
jijs_jctrl_fkey
jijs_kctrl_fkey
jijs_kctrlshift_fkey
jijs_labadvance_button
jijs_labauthor_button
jijs_labchapters_button
jijs_labs_button
jijs_lctrl_fkey
jijs_lctrlshift_fkey
jijs_max_button
jijs_mctrl_fkey
jijs_nctrl_fkey
jijs_nctrlshift_fkey
jijs_octrl_fkey
jijs_pctrl_fkey
jijs_qctrl_fkey
jijs_rctrl_fkey
jijs_rctrlshift_fkey
jijs_rundebug_button
jijs_runfile_button
jijs_runfiled_button
jijs_runline_button
jijs_runpacman_button
jijs_runprojman_button
jijs_runselection_button
jijs_runwindow_button
jijs_runwindowd_button
jijs_save_button
jijs_saveas_button
jijs_sctrl_fkey
jijs_sellower_button
jijs_selminus_button
jijs_selplus_button
jijs_selplusline1_button
jijs_selplusline2_button
jijs_selsort_button
jijs_seltoggle_button
jijs_selupper_button
jijs_selwrap_button
jijs_tctrl_fkey
jijs_tile_button
jijs_tileacross_button
jijs_tilecascade_button
jijs_togglebox_button
jijs_wctrl_fkey
jijs_wctrlshift_fkey
jrecent_cancel
jrecent_close
jrecent_enter
jrecent_lb_button
jrecent_open_button
jrecent_run
jrecent_run_button
jrecent_rund_button
jrecent_view_button
lint
marksavedid
name2id
new
newijs
newijx
nounrep
openijs
parentname
pathname
pmovex
qsmact
qsmall
qsmallforms
qsmallijs
qsmlastijs
qsmlastxs
qsmout
qsmsize
query
quote
rdist
readid
readid16
readonlydefault
recent_open
recent_put
recent_read
recent_run
recent_save
resizefont
restorefont
roundint
runcompare
runexport
runfile
runimmx0
runimmx1
runline
runselection
runwindow
save
saveas
saveopenwindows
scmp_cancel
scmp_close
scmp_close_button
scmp_current_button
scmp_original_button
scmp_revert_button
scmp_run
scmp_show
select_line
select_text
set_fkeys
set_skey1
set_skeys
setfontall
setpnall
setreadonly
sh
smappend
smclose
smfocus
smfocusact
smfocusout
smgetsel
smmove
smopen
smprompt
smread
smreplace
smsave
smscroll
smsel
smselact
smselout
smsetcmd
smsetsaved
smsetselect
smwrite
sysmodifiers
tile
tile2fit
tile2fit1
tileacross
tilecascade
tileget
todelim
tofoldername
togglebox
togglereadonly
togglexs
tolist
topara
ucpboxdraw
unboxfkeys
unboxskeys
winmax </pre>
 
=={{header|Tcl}}==