home *** CD-ROM | disk | FTP | other *** search
- trace(0)
- @a = funkey; { get funckey }
- if ( @a = -1 ) goto :quit
- if ( substr(@a, 1, 1 ) = "D" ) goto :dfunkey; else goto :hfunkey
-
- :dfunkey
- @c = strseq("$7F", "255")
- if ( @c = "" ) goto :quit
- @c = concat("$22", @c)
- @c = concat(@c, "$22")
- if ( @a = "DF1" ) @f1 = "@c"
- if ( @a = "DF2" ) @f2 = "@c"
- if ( @a = "DF3" ) @f3 = "@c"
- if ( @a = "DF4" ) @f4 = "@c"
- if ( @a = "DF5" ) @f5 = "@c"
- if ( @a = "DF6" ) @f6 = "@c"
- if ( @a = "DF7" ) @f7 = "@c"
- if ( @a = "DF8" ) @f8 = "@c"
- if ( @a = "DF9" ) @f9 = "@c"
- if ( @a = "DF10" ) @f10 = "@c"
- goto :quit
-
- :hfunkey
- @c = strseq("$0d", "9")
- if ( @c = "" ) goto :quit
- @r = concat( @c, " ")
- @r = concat(@r, @a)
- if ( @a = "1" ) goto :renew; else goto :append;
-
- :renew
- helpline("@r", "")
- goto :quit
-
- :append
- helpline("@r", "A")
-
- :quit
-