Latest Uploads
Wonder Wom ... ting thing

rychan

SoCoder 1 ... 0 Patreon

Jayenkai

Vagina

Jayenkai

You Were Defeated

rychan

IFS Viewer 3

Andy_A

Still Truckin'

rychan

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 642|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Latest Posts
VirginMedia SpeedBoost - Finally..
Jayenkai Fri 07:29
Pizza by Drone
steve_ancell Fri 05:50
A Political Thread That I Shouldn't Have Started
GfK Thu 06:01
Face drawing practise
Jayenkai Thu 00:29
AGameAWeek : 2016 - Part Two
Jayenkai Wed 11:10
WW - #244 - The Ten Challenge
Jayenkai Wed 10:46
Facebook Ban
GfK Wed 00:38
SoTweaking
Jayenkai Tue 23:05
Flip Out!
Jayenkai Tue 12:35
KORG Gadget's TopCharts
Jayenkai Sun 22:15
More

Latest Items
Blog : Monkey-X Box2D: Learning from my perspective... Hopefully!
steve_ancell Sun 14:49
Snippet : JNKrunch v1.0
spinal Sun 12:02
Snippet : Dungeon/Cave Generator - Simple
Pakz Wed 15:05
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 : 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
More

Who's Online
Pakz
Fri, at 17:46
steve_ancell
Fri, at 16:44
Jayenkai
Fri, at 16:06
Dabz
Fri, at 13:12
GfK
Fri, at 12:58
spinal
Fri, at 12:23
rockford
Fri, at 10:11
shroom_monk
Fri, at 06:39
AndyH
Thu, at 23:37
Krakatomato
Thu, at 23:29
Link to this page
Site : Jayenkai 2006-Infinity | MudChat's origins, BBCode's former life, Image Scaler.