Search found 8 matches
- Sat Dec 21, 2013 10:45 pm
- Forum: Coding Questions
- Topic: Structures in Macros
- Replies: 12
- Views: 2803
Re: Structures in Macros
Thank you for you answers. These are really interesting things to know about structures.
- Sat Dec 21, 2013 9:33 pm
- Forum: Coding Questions
- Topic: Structures in Macros
- Replies: 12
- Views: 2803
Re: Structures in Macros
Hello,
but when I want to re-use that variable again, I have to call InitializeStructure after ClearStructure, right? At least as I understood it from the manuals.
but when I want to re-use that variable again, I have to call InitializeStructure after ClearStructure, right? At least as I understood it from the manuals.
- Sat Dec 21, 2013 8:46 pm
- Forum: Coding Questions
- Topic: Structures in Macros
- Replies: 12
- Views: 2803
Re: Structures in Macros
Hello,
I just want to reset the variables in the structure to its default values (clearing lists, set strings to "", etc.)
With the given example code, line 6 (Macro ...) throws an syntax error in PB 5.21:
Structure myStruct
List myList.s()
myLong.l
EndStructure
Macro resetStruct(variable ...
I just want to reset the variables in the structure to its default values (clearing lists, set strings to "", etc.)
With the given example code, line 6 (Macro ...) throws an syntax error in PB 5.21:
Structure myStruct
List myList.s()
myLong.l
EndStructure
Macro resetStruct(variable ...
- Sat Dec 21, 2013 7:53 pm
- Forum: Coding Questions
- Topic: Structures in Macros
- Replies: 12
- Views: 2803
Structures in Macros
Hello,
I stumbled across this problem today. I wanted to write a macro which resets the content of a structure, but it seems I can't use a variable with a structure as macro argument. Syntax check gives me an error when I try to do so. Why is this not possible? Or is there any workaround, except ...
I stumbled across this problem today. I wanted to write a macro which resets the content of a structure, but it seems I can't use a variable with a structure as macro argument. Syntax check gives me an error when I try to do so. Why is this not possible? Or is there any workaround, except ...
- Sat Aug 17, 2013 7:45 pm
- Forum: 3D Programming
- Topic: Blender exported mesh has display issues
- Replies: 3
- Views: 2296
Re: Blender exported mesh has display issues
Thank you Samuel, that was the problem. I have never worked with Blender before, so the UI and not only the UI are a bit new/weird to me. I worked before only with programs like Solid Edge ST3, if you know it, and Blender is completely different. Anyway, thanks again for solving this.
- Sat Aug 17, 2013 4:45 pm
- Forum: 3D Programming
- Topic: Blender exported mesh has display issues
- Replies: 3
- Views: 2296
Blender exported mesh has display issues
Hello everybody,
so I experimented with Blender today and came across some issue with the BlenderDotScene exporter in the latest version. The models from the PureBasic examples are working just fine, but whenever I apply a texture to a self-made model it just colours it, but doesn't show the ...
so I experimented with Blender today and came across some issue with the BlenderDotScene exporter in the latest version. The models from the PureBasic examples are working just fine, but whenever I apply a texture to a self-made model it just colours it, but doesn't show the ...
- Wed Apr 10, 2013 8:02 pm
- Forum: Coding Questions
- Topic: Application crashes without error
- Replies: 3
- Views: 543
Re: Application crashes without error
You may be right, ts-soft, but when I do a little test-code where it tries to delete an not-existing linked list element, it gives me an error. If I do the same with maps, it doesn't give me any error (maybe that should output an error, too?).
- Wed Apr 10, 2013 4:58 pm
- Forum: Coding Questions
- Topic: Application crashes without error
- Replies: 3
- Views: 543
Application crashes without error
Hi guys,
I registered here because my application is crashing without error.. I'm trying to write a maze generation algorithm while the maze is displayed on the user's screen. Here is the procedure within the application crashes (I think, since OGRE doesn't give any error). The Procedure MazeGen is ...
I registered here because my application is crashing without error.. I'm trying to write a maze generation algorithm while the maze is displayed on the user's screen. Here is the procedure within the application crashes (I think, since OGRE doesn't give any error). The Procedure MazeGen is ...