About: Assert   Sponge Permalink

An Entity of Type : owl:Thing, within Data Space : 134.155.108.49:8890 associated with source dataset(s)

The Broken {{ref}} (youtube link) Broken {{ref}} (youtube link) Broken {{ref}} (youtube link) is a vehicle in Saints Row IV.

AttributesValues
rdfs:label
  • Assert
rdfs:comment
  • The Broken {{ref}} (youtube link) Broken {{ref}} (youtube link) Broken {{ref}} (youtube link) is a vehicle in Saints Row IV.
  • function Assert (string sMessage, int bValue, int bLog = FALSE) Internal function * Return type: void * Include file: nwscriptdefn
  • This is a simple example about using asserts by Christopher Oliver, 24-May-2007 on Orangevolt that works in JFXPad. To do something with an assertion you use "assert" triggers: trigger on not assert assertion { throw "Assertion failed: {assertion}"; } trigger on assert assertion { println("Assertion passed: {assertion}"); } var a = [1,2]; assert sizeof a == 2; assert sizeof a == 1; compile thread: Thread[AWT-EventQueue-0,6,main] compile 0.0060 Assertion passed: Assertion {description: [] sourceURL: 'file:/Users/coliver/javafx/trunk/assert.fx' lineNumber: 10 assertion: 'sizeof a == 2' result: true} uncaught FX exception: 'Assertion failed: Assertion {description: [] sourceURL: 'file:/Users/coliver/javafx/trunk/assert.fx' lineNumber: 11 assertion: 'sizeof a == 1' result: false}' at throw "As
dcterms:subject
Large
  • No
steer angle
  • 35(xsd:integer)
Hitpoints
  • 7000(xsd:integer)
front image
  • Assert SRIV.png
hostage class
  • Sedan
steer speed
  • 50(xsd:integer)
parked
  • No
vehicle class
  • Domestic
convertible
  • N/A
nitro
  • 95(xsd:integer)
dbkwik:saintsrow/p...iPageUsesTemplate
Appearances
  • Saints Row IV
Speed
  • 85(xsd:integer)
doors
  • 0(xsd:integer)
Logo
  • Assert logo SRIV.png
Name
torque
  • 450(xsd:integer)
Caption
  • The Assert in Saints Row IV
Mass
  • 1800(xsd:integer)
Law
Grip
  • 0(xsd:double)
Capacity
  • 4(xsd:integer)
Image size
  • 300(xsd:integer)
unlockable
  • Virus Collection
vehicle style
  • Alien Car
abstract
  • The Broken {{ref}} (youtube link) Broken {{ref}} (youtube link) Broken {{ref}} (youtube link) is a vehicle in Saints Row IV.
  • This is a simple example about using asserts by Christopher Oliver, 24-May-2007 on Orangevolt that works in JFXPad. To do something with an assertion you use "assert" triggers: trigger on not assert assertion { throw "Assertion failed: {assertion}"; } trigger on assert assertion { println("Assertion passed: {assertion}"); } var a = [1,2]; assert sizeof a == 2; assert sizeof a == 1; compile thread: Thread[AWT-EventQueue-0,6,main] compile 0.0060 Assertion passed: Assertion {description: [] sourceURL: 'file:/Users/coliver/javafx/trunk/assert.fx' lineNumber: 10 assertion: 'sizeof a == 2' result: true} uncaught FX exception: 'Assertion failed: Assertion {description: [] sourceURL: 'file:/Users/coliver/javafx/trunk/assert.fx' lineNumber: 11 assertion: 'sizeof a == 1' result: false}' at throw "Assertion failed: {assertion}"; ("file:/Users/coliver/javafx/trunk/assert.fx", Line 2) You can have multiple such triggers. Also you can pass a description of the assertion like this: assert sizeof a == 1 : "This should fail: size = {sizeof a}"; The object passed to your trigger is an instance of the Assertion class which looks like this public class Assertion { public attribute description: String*; public attribute sourceURL: String?; public attribute lineNumber: Number; public attribute assertion: String; public attribute result: Boolean; } The value after the ":" in the assert statement (which may be a list of trings) will be assigned to the description attribute of the assertion bject passed to your triggers.
  • function Assert (string sMessage, int bValue, int bLog = FALSE) Internal function * Return type: void * Include file: nwscriptdefn
Alternative Linked Data Views: ODE     Raw Data in: CXML | CSV | RDF ( N-Triples N3/Turtle JSON XML ) | OData ( Atom JSON ) | Microdata ( JSON HTML) | JSON-LD    About   
This material is Open Knowledge   W3C Semantic Web Technology [RDF Data] Valid XHTML + RDFa
OpenLink Virtuoso version 07.20.3217, on Linux (x86_64-pc-linux-gnu), Standard Edition
Data on this page belongs to its respective rights holders.
Virtuoso Faceted Browser Copyright © 2009-2012 OpenLink Software