Latest Uploads
IFS Viewer 3

Andy_A

Still Truckin'

rychan

Curlicue Fractals

Andy_A

heroextant ... -small.png

HoboBen

image-25-0 ... 26-04.jpeg

Jayenkai

Help_Fight ... rivacy.png

Jayenkai

Code Snippets > Variables ( Created 23 April 2008 | Last Edited 23 April 2008)

Nested Types Example by flying_cucco | No Votes
Written in
Cobra
How to make types-within-types in Cobra -- this took me a while to figure out. Hopefully self explanatory if you are familiar with how the types work, with lists and pointers.

-->

Latest Comments

Posted : Wednesday, 23 April 2008, 13:30
flying_cucco


Of course, they needn't be different types, you can nest the same type

-->

Posted : Wednesday, 23 April 2008, 16:34
codingmonkey


Very interesting.
Does Cobra utilize OOP?

Posted : Monday, 12 May 2008, 13:44
HoboBen


Thanks cucco!

I keep forgetting the exact syntax, and I must have checked back to this page like a million times by now.

Bookmarked!

-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 34|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Latest Posts
KORG Gadget update : July 2016
Jayenkai Fri 10:19
Unity pisses me off
steve_ancell Fri 08:52
RIP : Ploppy
steve_ancell Fri 08:03
DaXX Does Dreams
Pakz Fri 03:40
Monkey2 Arrives
Pakz Fri 03:26
First Person Mouse code request :)
Jayenkai Fri 03:02
Poll : Touchpad vs Nub vs Mouse
GfK Fri 00:51
Showerless
steve_ancell Thu 01:22
Taytotastic
rockford Wed 11:28
House Prices
spinal Wed 02:30
More

Latest Items
Snippet : Thousands of 3D Cubes
Pakz Fri 02:49
Showcase : Go!
rychan Thu 23:13
Snippet : Random 3d maps FPS
Pakz Mon 13:33
Showcase : IFS Viewer 3
Andy_A Mon 13:29
Showcase : Map Generator variation
Pakz Sat 00:08
Showcase : Popcorn Bucket
Jayenkai Mon 13:15
Showcase : Colour Guesser
Jayenkai Sun 06:31
Showcase : Unseen
rychan Mon 03:31
Snippet : Simple Dungeon level Generator
Andy_A Wed 07:44
Snippet : Simple Dungeon level Generator(mx)
Pakz Tue 06:23
Showcase : Curlicue Fractals
Jayenkai Sun 08:41
Showcase : Grey backgrounds
Pakz Sun 07:43
News : Newsletter #265
steve_ancell Fri 02:58
Showcase : Jumble Blocks
steve_ancell Mon 09:44
Showcase : Harpoons and Balls
Ninjinister Mon 07:29
More

Who's Online
GfK
Fri, at 10:55
Dabz
Fri, at 10:38
Jayenkai
Fri, at 10:36
spinal
Fri, at 09:54
steve_ancell
Fri, at 09:28
Pakz
Fri, at 09:20
rockford
Fri, at 08:41
Andy_A
Fri, at 07:10
shroom_monk
Fri, at 03:54
therevillsgames
Fri, at 03:04
Link to this page
Site : Jayenkai 2006-Infinity | MudChat's origins, BBCode's former life, Image Scaler.