Procedures returning structs

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by pantera.

A procedure should be able to return a structure.

Example:
Procedure.matrix3d init_rotationmatrix(...)