DataMuseum.dk

Presents historical artifacts from the history of:

RegneCentralen RC759 "Piccoline"

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about RegneCentralen RC759 "Piccoline"

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download

⟦7f4e5f8a8⟧ TextFile

    Length: 1585 (0x631)
    Types: TextFile
    Names: »MY_VERI.TXT«

Derivation

└─⟦6a1b9f2c5⟧ Bits:30005310/disk3.imd Open Access II v2.10 (dansk)
    └─⟦this⟧ »MY_VERI.TXT« 

TextFile

      

      !==============================================================ø  
      ! my_veri: Put up an appropriately-sized window with a message ø 
      !          as the title and a "OK  Cancel" menu.  Beep for     ø
      !          attention when menu comes up (new feature).         ø
      !==============================================================ø
      

IF message = ''   !if no new value for message, use standard.
   message = 'Continue?' !the title message
   END IF 

!Calculate how much bigger to make window 
msg_width = length(message)                      !STEP 1 (ADD) 
IF msg_width > 15                                !STEP 2 (ADD) 
    add_width = msg_width - 15
ELSE
    add_width = 0 
    END IF                       

!Define Window & put up window and menu 
                                                    !STEP 3 (MODIFY) 
WINDOW menwind = SIZE (15 + add_width) BY 3 AT 32,10 FRAMED 
WINDOW mentitle = TOP 1 in menwind MODE TITLE
WINDOW menprompt = BOTTOM 1 in menwind MODE PROMPT
SCREEN menwind
   PUT IN mentitle message FILLED
   PUT IN menprompt '<do>  <undo>' FILLED
   PUT IN menwind AT (add_width / 2),1              !STEP 4 (MODIFY) 
   PUT DO BEEP 
   !----------------------------------- 
   MENU
      : OK :        do_it = TRUE 
      : Cancel :    do_it = FALSE 
      : K_UNDO :    do_it = FALSE 
      END MENU 
  !------------------------------------ 
  END SCREEN 
  
!Erase value of message 
message = ''
!____________________________________________________________________________