home *** CD-ROM | disk | FTP | other *** search
/ PDA Software Library / pdasoftwarelib.iso / PILOT / PC / JUMP / DECHEX / DECHEX.RCP < prev    next >
Encoding:
Text File  |  1996-11-04  |  1.1 KB  |  48 lines

  1. MENU ID 1000
  2. BEGIN
  3.     PULLDOWN "Options"
  4.     BEGIN
  5.         MENUITEM "About Sample..." 1002 "A"
  6.     END
  7. END
  8.  
  9. FORM 1000 0 0 160 160
  10. USABLE
  11. NOFRAME
  12. MENUID 1000
  13. BEGIN
  14.     TITLE "Sample"
  15.  
  16.     LABEL "Decimal:" 2000 30 30 FONT 1
  17.     FIELD 1004 PREVLEFT PREVTOP+10 50 AUTO UNDERLINED EDITABLE SINGLELINE MAXCHARS 10
  18.     LABEL "Hex:" 2001 100 30 FONT 1
  19.     FIELD 1005 PREVLEFT PREVTOP+10 50 AUTO UNDERLINED EDITABLE SINGLELINE MAXCHARS 8
  20.     BUTTON "Convert" 1003 CENTER CENTER AUTO AUTO
  21.     GRAFFITISTATEINDICATOR 0 150
  22. END
  23.  
  24. ALERT 1000
  25. INFORMATION
  26. BEGIN
  27.     TITLE "About Sample"
  28.     MESSAGE "This sample application was written using the Pila assembler. For more information see http://www.massena.com/darrin/pilot"
  29.     BUTTONS "Cool!"
  30. END
  31.  
  32. ALERT 1001
  33. ERROR
  34. BEGIN
  35.     TITLE "Oops"
  36.     MESSAGE "Please write a number to be converted."
  37.     BUTTONS "OK"
  38. END
  39.  
  40. ALERT 1002
  41. ERROR
  42. BEGIN
  43.     TITLE "Oops"
  44.     MESSAGE "Your number is out of range. Use decimal values in the range of -32767 to 32768 and hexidecimal values in the range from 0 to FFFF."
  45.     BUTTONS "OK"
  46. END
  47.  
  48.