buenoleo-dev

Untitled

Aug 18th, 2019
656
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. DEF VAR wopcao AS CHAR FORMAT "x(11)" EXTENT 5 INITIAL
  2.                                                 [" Inclusao ",
  3.                                                 " Alteracao ",
  4.                                                 " Exclusao ",
  5.                                                 " Consulta ",
  6.                                                 " Relatorio "].
  7. form wopcao[1] FORMAT "x(09)" SPACE(01)
  8.      wopcao[2] FORMAT "x(10)" SPACE(01)
  9.      wopcao[3] FORMAT "x(09)" SPACE(01)
  10.      wopcao[4] FORMAT "x(09)" SPACE(01)
  11.      wopcao[5] FORMAT "x(10)"
  12.      WITH FRAME f-opcoes NO-LABELS ROW 4 WIDTH 80.
  13.      
  14. REPEAT:
  15.     MESSAGE "Escolha a Opcao Desejada".
  16.     DISPLAY wopcao WITH FRAME f-opcoes.
  17.     CHOOSE FIELD wopcao AUTO-RETURN WITH FRAME f-opcoes.
  18.  
  19.     IF FRAME-INDEX = 1 then MESSAGE "Entrou na Opção de Inclusão".
  20.     IF FRAME-INDEX = 2 then MESSAGE "Entrou na Opção de Alteração".
  21.     IF FRAME-INDEX = 3 then MESSAGE "Entrou na Opção de Exclusão".
  22.     IF FRAME-INDEX = 4 then MESSAGE "Entrou na Opção de Consulta".
  23.     IF FRAME-INDEX = 5 then MESSAGE "Entrou na Opção de Relatório".
  24. END.
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×