home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Taifun Collection
/
Taifun_Collection_Vol_1.iso
/
richter
/
8659
/
8659.mhs
/
RICHTER.DTP
/
KFZ
/
KFZ2.SC
< prev
next >
Wrap
Text File
|
1991-12-22
|
2KB
|
82 lines
; Kfz2
AppLib = "Kfz1"
if (not isfile(AppLib + ".lib")) then
Createlib AppLib
endif
proc Kfz2S4()
private opResult
Readlib "Kfzutl" ViewTable, ToggleForm, VwFldView,
HelpKey
opResult = ViewTable("Lager1", "Lager1", "1", TRUE)
Release Procs ViewTable, ToggleForm, VwFldView,
HelpKey
return opResult
endproc
Writelib AppLib Kfz2S4
Release Procs Kfz2S4
proc Kfz2Menu()
private x, escape
x = "Eingabe"
while (TRUE)
Clear
ShowMenu
"Eingabe": "Neue Artikel eingeben",
"Ändern": "Bestehende Artikel ändern",
"Bestelliste sehen": "Bestelliste ansehen",
"Bestand": "Alle Artikel ansehen"
Default x
To x
switch
case x = "Eingabe":
Play "Neuart"
x = "Eingabe"
escape = FALSE
case x = "Ändern":
Play "Lagersu"
x = "Ändern"
escape = FALSE
case x = "Bestelliste sehen":
Play "Bestels"
x = "Bestelliste sehen"
escape = FALSE
case x = "Bestand":
ReadLib "Kfz1" Kfz2S4
escape = Kfz2S4()
escape = not escape
Release Procs Kfz2S4
case x = "Esc":
return FALSE
endswitch
; Wert von ErrorProc zurücksetzen
ErrorProc = "ApplicErrorProc"
ApplicErrorRetVal = FALSE
if (not escape) then
return TRUE
endif
endwhile
endproc
Writelib AppLib Kfz2Menu
Release Procs Kfz2Menu