August 1999
Intermediate to advanced
1488 pages
72h 53m
English
@_PowerPC
The @_PowerPC variable is used in conditional compilation to determine if a Motorola PowerPC processor is being used. When the variable is not true, it is defined as NaN.
Listing 9.7 alerts the user when a Motorola PowerPC processor is used.
<script language="JScript">
<!-- Hide
@if (@_PowerPC)
alert("You are using a Motorola PowerPC processor.");
@else
alert("You are NOT using a Motorola PowerPC processor.");
@end
//Hide End -->
</script>
|
Read now
Unlock full access