Syntax error on SizeOf() with nested structures

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Syntax error on SizeOf() with nested structures

Post by Trond »

Code: Select all

Structure SMyStruct
  Characters.character
EndStructure

var.SMyStruct
Debug SizeOf(var\Characters\C)
SizeOf() doesn't accept fields within structures.
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6166
Joined: Sat May 17, 2003 11:31 am
Contact:

Re: [4.40 b2] Syntax error on SizeOf() with nested structures

Post by blueznl »

Hey, Trond, we're in b3 now :-)
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB)
( The path to enlightenment and the PureBasic Survival Guide right here... )
Post Reply