[Jprogramming] in script file, how to tell if line is top level?
bill lam
bbill.lam at gmail.com
Wed Feb 8 06:20:15 UTC 2017
For syntax coloring, it scans from the beginning and search
matching 3 : 0 (or other equivalents) and a line without only
the token ) .
Ср, 08 фев 2017, jprogramming написал(а):
> in 4 line script,
>
> 2+2
> a =: 3 : 0
> nested definition line
>
> )
>
> the first 2 lines are "top level", but the last 2 are nested.
>
> is there any undocumented foreign that will return this status? How does the console know that it is in " : 0 " mode?
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
--
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
gpg --keyserver subkeys.pgp.net --armor --export 4434BAB3
More information about the Programming
mailing list