Latest Uploads
Vagina

Jayenkai

You Were Defeated

rychan

IFS Viewer 3

Andy_A

Still Truckin'

rychan

Curlicue Fractals

Andy_A

heroextant ... -small.png

HoboBen

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 649|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Latest Posts
PS4 Games
Jayenkai Wed 00:12
Jay Buys an iPhone
Pakz Tue 10:09
Star Trek - Discovery
Jayenkai Tue 00:51
Is Monkey2 3D?
therevillsgames Mon 13:53
What Can You Post?
Jayenkai Mon 09:34
Sonic Mania
Jayenkai Sun 13:51
Robot Wars
Jayenkai Sun 11:57
Monkey Fullscreen
Jayenkai Sun 06:24
Porting
spinal Sun 04:15
AGameAWeek : 2016 - Part Two
Jayenkai Sun 01:34
More

Latest Items
Snippet : Platform Sprite Generator
Jayenkai Tue 15:22
Snippet : Code Creates Crates
HoboBen Tue 07:02
Snippet : Texture - Leafy camouflage
HoboBen Tue 07:00
Snippet : Texture - Stone 3
Pakz Mon 09:55
Snippet : Texture - Stone 2
Pakz Mon 09:50
Snippet : Texture - Stone 1
Pakz Mon 09:46
Snippet : Texture - Cloudy Patterns
Pakz Mon 08:57
Showcase : Mining Map AI Demo
steve_ancell Wed 08:00
Showcase : Deflektivity
Jayenkai Mon 11:54
Showcase : Grey Lined Backgrounds
HoboBen Mon 04:17
Showcase : CAVE
Jayenkai Sun 07:20
Showcase : I Shall Be Queen!
rychan Fri 06:41
Snippet : Thousands of 3D Cubes
Pakz Fri 02:49
Showcase : Go!
rychan Thu 23:13
Showcase : Map Generator variation
Pakz Sat 00:08
More

Who's Online
rockford
Wed, at 00:58
Jayenkai
Wed, at 00:46
GfK
Wed, at 00:22
spinal
Wed, at 00:01
Pakz
Tue, at 15:20
therevillsgames
Tue, at 14:08
shroom_monk
Tue, at 13:25
steve_ancell
Tue, at 13:07
Krakatomato
Tue, at 13:03
Dabz
Tue, at 11:23
Link to this page
Site : Jayenkai 2006-Infinity | MudChat's origins, BBCode's former life, Image Scaler.