Author Topic: "structureof" command?  (Read 4069 times)

0 Members and 1 Guest are viewing this topic.

Aurel

  • Guest
Re: "structureof" command?
« Reply #15 on: August 18, 2012, 01:07:04 PM »
As i say i recive error about unknown function - pword
and before that with maco function...
what are those functions ???
here:
Code: [Select]
function attributes(s as string, byref i as sys) as string
'=========================================================
  '
  dim as sys kn,a,c,k,m,wa,ty
  dim as string wr,w1
  '
  kn=maco(mp,5)  ' <---- error
  '
  if ascn=lbr then c=1 : i+=1 'SKIP LEFT BRACKET
  '
  nmac=1
  w1=pword(s,i) 'resolve   ' <----error




X
« Last Edit: August 18, 2012, 01:12:54 PM by Aurel »

Charles Pegge

  • Admin Support Member
  • *****
  • Posts: 4128
    • Oxygen Basic
Re: "structureof" command?
« Reply #16 on: August 18, 2012, 01:36:09 PM »
Oh I see! you are referring to the source code. You have to compile the whole thing.

fbc -dll Oxygen.bas

I'm using FB version 0.21

pword is part of the parsing suite - it resolves macros, pointers and a few other items.

You will find it further down in o2pars.bas. These functions are often used recursively.

Charles

Aurel

  • Guest
Re: "structureof" command?
« Reply #17 on: August 18, 2012, 02:04:45 PM »
Uops ...i don't know that this is conected with FB source of oxygen.
Charles ...belive me i have never tried to compile oxygen with FB.
I have version v0.20b.
By the way i study examples by Dean Hodgson about how he create multiple windows.
You probably see this example on FB forum.

Frankolinox

  • Full Member
  • ***
  • Posts: 230
Re: "structureof" command?
« Reply #18 on: August 19, 2012, 10:42:00 AM »
thanks you all :) my example with udt types "structure of" are working well!
 nice week-end, here in my home town there's a big celebretion day for summer days and farmers :-) today at sunday there were 38 celsius degree!!!
best regards, frank (and I can repeat it every day thanks for your great oxygen basic works) !
« Last Edit: August 20, 2012, 12:34:03 AM by Frankolinox »