CompuServe Messages

Function Keys, popcli

#: 32583 S7/ProgrammingForum unknown
    09-Sep-86 02:04:06
Sb: #32432-Function Keys, popcli
Fm: Sid Tinsley 70003,1051
To: Bill Christens-Barry 75475,1674

This message turned up in search, but its forum couldn’t be identified from the original transcript, so it may not be linked into its thread.

Bill, The general method I've found for the function keys is: Kybd: a$="" WHILE a$="" a$=INKEY$ WEND ON ASC(a$)-128 GOTO F1,F2,F3,F4,F5,F6,F7,F8,F9,F10,Help_key ' process for a single character input ' blah…blah…blah ' end process GOTO Kybd F1: process for Function key #1 F2: process for Function key #2 Help_key: print help file END This is based on the fact that the function keys return an Ascii code ranging from 129 to 139. None of the manuals are very clear about this (found by experimentation). Can't help you about the second part of the question, but I've found that AmigaBasic doesn't seem to be too friendly towards other programs. Sid