|
|
|
|
| Building Shared Components from Scratch |
| All sessions this year will focus on 4D v12 and 4D v11 SQL, meaning you can use everything you learn right away. Don't miss out on sessions like "Building your first shared form component from scratch". Would you like to know more?
Monday |
|
| Bright Minds Brought Together |
| Monitors, laptops, and a bunch of devs geeking out about 4D. Yes, the Unconference event at the 4D Summit is back! Would you like to know more?
Monday |
|
| Save on your Hotel Room |
| There is one week left to save on your 4D Summit hotel room! Would you like to know more?
Monday |
|
|
Submit Future News Archive  |
|
|
 |
|
|
| Transform 2D array mxn to nxm |
Submitted by Garri Ogata, in8software
//Method: Core_2DArray_Transform(p2DArraySource;p2DArrayDestination; // {nSourceStartColumn;nSourceStartRow}) //Description: This method transforms source (CxR) to destination (RxC) // starting from the sources Column and Starting Row. The destination array // must come in properly sized.
// EX Source (2x3) Destination (3x2) // src a d dst a b c // b e d e f // c f
C_POINTER($1;$2;$p2DaSource;$p2DaDestination) C_LONGINT($3;$4;$nSourceStartColumn;$nSourceStartRow;$nDestinationColumns;$nDestinationRows) C_LONGINT($nNumberOfParameters;$nColumn;$nRow)
$p2DaSource:=$1 $p2DaDestination:=$2
$nSourceStartColumn:=1 $nSourceStartRow:=1
$nNumberOfParameters:=Count parameters
If($nNumberOfParameters>2) $nSourceStartColumn:=$3 $nSourceStartRow:=$4 end if
$nDestinationColumns:=Size of array($p2DaDestination->) $nDestinationRows:=Size of array($p2DaDestination->{1})
For ($nColumn;1;$nDestinationColumns) For ($nRow;1;$nDestinationRows) $p2DaDestination->{$nColumn}{$nRow}:=$p2DaSource->{$nSourceStartColumn}{$nSourceStartRow} $nSourceStartColumn:=$nSourceStartColumn+1 //Go to the next column End for
$nSourceStartColumn:=$nSourceStartColumn-$nDestinationRows //Reset the source start column to its original setting $nSourceStartRow:=$nSourceStartRow+1 //Go to the next row End for |
|
Submit a Tip Archive  |
|
|
 |
|
|
|
| LinkedIn |
LinkedIn is an online network of more than 13 million experienced professionals from around the world, representing 150 industries. Create your profile today and find former and current colleagues and clients. It's a great way to network with your connections as well as their connections. |
|
Suggest a Spotlight
|
|
|
 |
|
|
|
This weekend, we asked you...
|
| Are you coming to the summit? |
|
Your vote: (no vote)
Total votes received: 163
|
|
Suggest a Survey
|
|
|
 |
|