Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Type casting reference matrix fixed. #521

Merged
merged 1 commit into from

2 participants

@rebolek

No description provided.

@dockimbel
Owner

Sorry for the delay, the TO was intentional to highlight a conversion occuring... As it seems ambiguous, I need to decide if I shouldn't formulate it in another way, or use TO as proposed by your pull request...

@dockimbel
Owner

After a (long) thinking, I will accept this PR, and add some comments to the Matrix: TO means an internal transformation might occur, while AS means that just the type label is changed, the data itself is left untouched.

@dockimbel dockimbel merged commit 42be4a5 into red:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Aug 26, 2013
  1. @rebolek
This page is out of date. Refresh to see the latest.
Showing with 17 additions and 17 deletions.
  1. +17 −17 docs/red-system-specs.txt
View
34 docs/red-system-specs.txt
@@ -940,7 +940,7 @@ Keep in mind that pointer!, c-string!, struct! and function! are passed by refer
<th>byte!</th>
<td class="warn">WARNING</td>
-<td class="allow">to byte! &sup1;</td>
+<td class="allow">as byte! &sup1;</td>
<td class="allow">true<span class="arrow">&raquo;</span>#"^(01)"<br>false<span class="arrow">&raquo;</span>#"^(00)"</td>
<td class="deny">ERROR</td>
<td class="deny">ERROR</td>
@@ -951,12 +951,12 @@ Keep in mind that pointer!, c-string!, struct! and function! are passed by refer
</tr><tr>
<th>integer!</th>
-<td class="allow">to integer!</td>
+<td class="allow">as integer!</td>
<td class="warn">WARNING</td>
<td class="allow">true<span class="arrow">&raquo;</span>1<br>false<span class="arrow">&raquo;</span>0</td>
-<td class="allow">to integer!</td>
-<td class="allow">to integer!</td>
-<td class="allow">to integer!</td>
+<td class="allow">as integer!</td>
+<td class="allow">as integer!</td>
+<td class="allow">as integer!</td>
<td class="deny">ERROR</td>
<td class="allow">as integer!</td>
<td class="allow">as integer!</td>
@@ -976,11 +976,11 @@ Keep in mind that pointer!, c-string!, struct! and function! are passed by refer
<th>c-string!</th>
<td class="deny">ERROR</td>
-<td class="allow">to c-string!</td>
+<td class="allow">as c-string!</td>
<td class="deny">ERROR</td>
<td class="warn">WARNING</td>
-<td class="allow">to c-string!</td>
-<td class="allow">to c-string!</td>
+<td class="allow">as c-string!</td>
+<td class="allow">as c-string!</td>
<td class="deny">ERROR</td>
<td class="deny">ERROR</td>
<td class="deny">ERROR</td>
@@ -988,11 +988,11 @@ Keep in mind that pointer!, c-string!, struct! and function! are passed by refer
<th>pointer!</th>
<td class="deny">ERROR</td>
-<td class="allow">to pointer!</td>
+<td class="allow">as pointer!</td>
<td class="deny">ERROR</td>
-<td class="allow">to pointer!</td>
+<td class="allow">as pointer!</td>
<td class="warn">WARNING</td>
-<td class="allow">to pointer!</td>
+<td class="allow">as pointer!</td>
<td class="deny">ERROR</td>
<td class="deny">ERROR</td>
<td class="deny">ERROR</td>
@@ -1000,10 +1000,10 @@ Keep in mind that pointer!, c-string!, struct! and function! are passed by refer
<th>struct!</th>
<td class="deny">ERROR</td>
-<td class="allow">to struct!</td>
+<td class="allow">as struct!</td>
<td class="deny">ERROR</td>
-<td class="allow">to struct!</td>
-<td class="allow">to struct!</td>
+<td class="allow">as struct!</td>
+<td class="allow">as struct!</td>
<td class="warn">WARNING</td>
<td class="deny">ERROR</td>
<td class="deny">ERROR</td>
@@ -1018,7 +1018,7 @@ Keep in mind that pointer!, c-string!, struct! and function! are passed by refer
<td class="deny">ERROR</td>
<td class="deny">ERROR</td>
<td class="warn">WARNING</td>
-<td class="allow">to float!</td>
+<td class="allow">as float!</td>
<td class="deny">ERROR</td>
</tr>
@@ -1029,7 +1029,7 @@ Keep in mind that pointer!, c-string!, struct! and function! are passed by refer
<td class="deny">ERROR</td>
<td class="deny">ERROR</td>
<td class="deny">ERROR</td>
-<td class="allow">to float32!</td>
+<td class="allow">as float32!</td>
<td class="warn">WARNING</td>
<td class="deny">ERROR</td>
</tr>
@@ -3733,4 +3733,4 @@ replace out "$LIGHT$" file2
write file out
replace out "dark.css" "light.css"
-write file2 out
+write file2 out
Something went wrong with that request. Please try again.