Hello,

This sample works in Clipper5 but gives error in xHarbour

//----------------------
PROCEDURE Main
LOCAL MenuItems[5]

   MenuItems[1] = "Test 1"
   MenuItems[2] = "Test 2"
   MenuItems[3] = "Test 3"

   achoice(0,0,10,10,MenuItems)

RETURN
//-------------------------

Error BASE/1127  Argument error: <acMenuItems> should contain string
values: ACHOICE
Called from : ACHOICE(112) in Module: achoice.prg
         |
Called from : MAIN(8) in Module: Test.prg

//-------------------------

If you change:
  LOCAL MenuItems[5]
to
  LOCAL MenuItems[3]
or
  LOCAL MenuItems[4]

It works.

Patrick

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
xHarbour-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xharbour-developers

Reply via email to