{"action":"created","comment":{"url":"https://api.github.com/repos/Dunbaratu/KOS-1/pulls/comments/54214918","id":54214918,"diff_hunk":"@@ -0,0 +1,91 @@\n+.. _range:\n+\n+Range\n+=====\n+\n+:struct:`Range` is a type that represents a sequence of scalar whole numbers. The sequence can start and finish at any whole number, can be either descending or ascending and can skip numbers.\n+\n+.. note::\n+\n+    This is one of the few places in kOS where there is a distinction between\n+    decimal (floating point, or fractional) scalar numbers and whole (integer,\n+    or round) scalar numbers.  Using a decimal scalar will not throw an error,\n+    however it may give unexpected results due to rounding.\n+\n+There are 3 ways of constructing a :struct:`Range`:\n+\n+- :code:`RANGE(FROM, TO, STEP)`\n+  Will create a sequence of numbers that starts with `FROM` and contains all numbers `N + STEP` such that `N` belongs to the sequence and that are smaller than `TO`. For example\n+  :code:`RANGE(3,8,2)` will contain numbers 3, 5 and 7. If `FROM` > `TO` then the sequence will be descending. For example :code:`RANGE(2,-9,3)` will contain numbers 2, -1, -4 and -7.","path":"doc/source/structures/collections/range.rst","position":19,"original_position":19,"commit_id":"992d745ab5e0384bb8fb410aa9fa0d21d48bca61","original_commit_id":"992d745ab5e0384bb8fb410aa9fa0d21d48bca61","user":{"login":"tomekpiotrowski","id":1452213,"avatar_url":"https://avatars.githubusercontent.com/u/1452213?v=3","gravatar_id":"","url":"https://api.github.com/users/tomekpiotrowski","html_url":"https://github.com/tomekpiotrowski","followers_url":"https://api.github.com/users/tomekpiotrowski/followers","following_url":"https://api.github.com/users/tomekpiotrowski/following{/other_user}","gists_url":"https://api.github.com/users/tomekpiotrowski/gists{/gist_id}","starred_url":"https://api.github.com/users/tomekpiotrowski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomekpiotrowski/subscriptions","organizations_url":"https://api.github.com/users/tomekpiotrowski/orgs","repos_url":"https://api.github.com/users/tomekpiotrowski/repos","events_url":"https://api.github.com/users/tomekpiotrowski/events{/privacy}","received_events_url":"https://api.github.com/users/tomekpiotrowski/received_events","type":"User","site_admin":false},"body":"Feel free to change the naming. Python uses start/stop for example.","created_at":"2016-02-26T08:19:23Z","updated_at":"2016-02-26T08:19:23Z","html_url":"https://github.com/Dunbaratu/KOS-1/pull/12#discussion_r54214918","pull_request_url":"https://api.github.com/repos/Dunbaratu/KOS-1/pulls/12","_links":{"self":{"href":"https://api.github.com/repos/Dunbaratu/KOS-1/pulls/comments/54214918"},"html":{"href":"https://github.com/Dunbaratu/KOS-1/pull/12#discussion_r54214918"},"pull_request":{"href":"https://api.github.com/repos/Dunbaratu/KOS-1/pulls/12"}}},"pull_request":{"url":"https://api.github.com/repos/Dunbaratu/KOS-1/pulls/12","id":60794881,"html_url":"https://github.com/Dunbaratu/KOS-1/pull/12","diff_url":"https://github.com/Dunbaratu/KOS-1/pull/12.diff","patch_url":"https://github.com/Dunbaratu/KOS-1/pull/12.patch","issue_url":"https://api.github.com/repos/Dunbaratu/KOS-1/issues/12","number":12,"state":"open","locked":false,"title":"Pull review/1414","user":{"login":"hvacengi","id":2975036,"avatar_url":"https://avatars.githubusercontent.com/u/2975036?v=3","gravatar_id":"","url":"https://api.github.com/users/hvacengi","html_url":"https://github.com/hvacengi","followers_url":"https://api.github.com/users/hvacengi/followers","following_url":"https://api.github.com/users/hvacengi/following{/other_user}","gists_url":"https://api.github.com/users/hvacengi/gists{/gist_id}","starred_url":"https://api.github.com/users/hvacengi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hvacengi/subscriptions","organizations_url":"https://api.github.com/users/hvacengi/orgs","repos_url":"https://api.github.com/users/hvacengi/repos","events_url":"https://api.github.com/users/hvacengi/events{/privacy}","received_events_url":"https://api.github.com/users/hvacengi/received_events","type":"User","site_admin":false},"body":"PR with progress so far on for my review.","created_at":"2016-02-26T05:29:17Z","updated_at":"2016-02-26T08:19:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ed2f14a3ce5c78e1bf42be2c7986ab0f58465ecb","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Dunbaratu/KOS-1/pulls/12/commits","review_comments_url":"https://api.github.com/repos/Dunbaratu/KOS-1/pulls/12/comments","review_comment_url":"https://api.github.com/repos/Dunbaratu/KOS-1/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Dunbaratu/KOS-1/issues/12/comments","statuses_url":"https://api.github.com/repos/Dunbaratu/KOS-1/statuses/992d745ab5e0384bb8fb410aa9fa0d21d48bca61","head":{"label":"hvacengi:pull-review/1414","ref":"pull-review/1414","sha":"992d745ab5e0384bb8fb410aa9fa0d21d48bca61","user":{"login":"hvacengi","id":2975036,"avatar_url":"https://avatars.githubusercontent.com/u/2975036?v=3","gravatar_id":"","url":"https://api.github.com/users/hvacengi","html_url":"https://github.com/hvacengi","followers_url":"https://api.github.com/users/hvacengi/followers","following_url":"https://api.github.com/users/hvacengi/following{/other_user}","gists_url":"https://api.github.com/users/hvacengi/gists{/gist_id}","starred_url":"https://api.github.com/users/hvacengi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hvacengi/subscriptions","organizations_url":"https://api.github.com/users/hvacengi/orgs","repos_url":"https://api.github.com/users/hvacengi/repos","events_url":"https://api.github.com/users/hvacengi/events{/privacy}","received_events_url":"https://api.github.com/users/hvacengi/received_events","type":"User","site_admin":false},"repo":{"id":26549053,"name":"KOS","full_name":"hvacengi/KOS","owner":{"login":"hvacengi","id":2975036,"avatar_url":"https://avatars.githubusercontent.com/u/2975036?v=3","gravatar_id":"","url":"https://api.github.com/users/hvacengi","html_url":"https://github.com/hvacengi","followers_url":"https://api.github.com/users/hvacengi/followers","following_url":"https://api.github.com/users/hvacengi/following{/other_user}","gists_url":"https://api.github.com/users/hvacengi/gists{/gist_id}","starred_url":"https://api.github.com/users/hvacengi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hvacengi/subscriptions","organizations_url":"https://api.github.com/users/hvacengi/orgs","repos_url":"https://api.github.com/users/hvacengi/repos","events_url":"https://api.github.com/users/hvacengi/events{/privacy}","received_events_url":"https://api.github.com/users/hvacengi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hvacengi/KOS","description":"Fully programmable autopilot mod for KSP. Originally By Nivekk","fork":true,"url":"https://api.github.com/repos/hvacengi/KOS","forks_url":"https://api.github.com/repos/hvacengi/KOS/forks","keys_url":"https://api.github.com/repos/hvacengi/KOS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hvacengi/KOS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hvacengi/KOS/teams","hooks_url":"https://api.github.com/repos/hvacengi/KOS/hooks","issue_events_url":"https://api.github.com/repos/hvacengi/KOS/issues/events{/number}","events_url":"https://api.github.com/repos/hvacengi/KOS/events","assignees_url":"https://api.github.com/repos/hvacengi/KOS/assignees{/user}","branches_url":"https://api.github.com/repos/hvacengi/KOS/branches{/branch}","tags_url":"https://api.github.com/repos/hvacengi/KOS/tags","blobs_url":"https://api.github.com/repos/hvacengi/KOS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hvacengi/KOS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hvacengi/KOS/git/refs{/sha}","trees_url":"https://api.github.com/repos/hvacengi/KOS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hvacengi/KOS/statuses/{sha}","languages_url":"https://api.github.com/repos/hvacengi/KOS/languages","stargazers_url":"https://api.github.com/repos/hvacengi/KOS/stargazers","contributors_url":"https://api.github.com/repos/hvacengi/KOS/contributors","subscribers_url":"https://api.github.com/repos/hvacengi/KOS/subscribers","subscription_url":"https://api.github.com/repos/hvacengi/KOS/subscription","commits_url":"https://api.github.com/repos/hvacengi/KOS/commits{/sha}","git_commits_url":"https://api.github.com/repos/hvacengi/KOS/git/commits{/sha}","comments_url":"https://api.github.com/repos/hvacengi/KOS/comments{/number}","issue_comment_url":"https://api.github.com/repos/hvacengi/KOS/issues/comments{/number}","contents_url":"https://api.github.com/repos/hvacengi/KOS/contents/{+path}","compare_url":"https://api.github.com/repos/hvacengi/KOS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hvacengi/KOS/merges","archive_url":"https://api.github.com/repos/hvacengi/KOS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hvacengi/KOS/downloads","issues_url":"https://api.github.com/repos/hvacengi/KOS/issues{/number}","pulls_url":"https://api.github.com/repos/hvacengi/KOS/pulls{/number}","milestones_url":"https://api.github.com/repos/hvacengi/KOS/milestones{/number}","notifications_url":"https://api.github.com/repos/hvacengi/KOS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hvacengi/KOS/labels{/name}","releases_url":"https://api.github.com/repos/hvacengi/KOS/releases{/id}","deployments_url":"https://api.github.com/repos/hvacengi/KOS/deployments","created_at":"2014-11-12T18:06:19Z","updated_at":"2016-01-13T14:20:31Z","pushed_at":"2016-02-26T05:26:07Z","git_url":"git://github.com/hvacengi/KOS.git","ssh_url":"git@github.com:hvacengi/KOS.git","clone_url":"https://github.com/hvacengi/KOS.git","svn_url":"https://github.com/hvacengi/KOS","homepage":null,"size":73889,"stargazers_count":1,"watchers_count":1,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"develop"}},"base":{"label":"Dunbaratu:structure_suffixes_part_1","ref":"structure_suffixes_part_1","sha":"3d07f92ec2465f44faa059111d8f98987ee7e74c","user":{"login":"Dunbaratu","id":5216848,"avatar_url":"https://avatars.githubusercontent.com/u/5216848?v=3","gravatar_id":"","url":"https://api.github.com/users/Dunbaratu","html_url":"https://github.com/Dunbaratu","followers_url":"https://api.github.com/users/Dunbaratu/followers","following_url":"https://api.github.com/users/Dunbaratu/following{/other_user}","gists_url":"https://api.github.com/users/Dunbaratu/gists{/gist_id}","starred_url":"https://api.github.com/users/Dunbaratu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dunbaratu/subscriptions","organizations_url":"https://api.github.com/users/Dunbaratu/orgs","repos_url":"https://api.github.com/users/Dunbaratu/repos","events_url":"https://api.github.com/users/Dunbaratu/events{/privacy}","received_events_url":"https://api.github.com/users/Dunbaratu/received_events","type":"User","site_admin":false},"repo":{"id":18195960,"name":"KOS-1","full_name":"Dunbaratu/KOS-1","owner":{"login":"Dunbaratu","id":5216848,"avatar_url":"https://avatars.githubusercontent.com/u/5216848?v=3","gravatar_id":"","url":"https://api.github.com/users/Dunbaratu","html_url":"https://github.com/Dunbaratu","followers_url":"https://api.github.com/users/Dunbaratu/followers","following_url":"https://api.github.com/users/Dunbaratu/following{/other_user}","gists_url":"https://api.github.com/users/Dunbaratu/gists{/gist_id}","starred_url":"https://api.github.com/users/Dunbaratu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dunbaratu/subscriptions","organizations_url":"https://api.github.com/users/Dunbaratu/orgs","repos_url":"https://api.github.com/users/Dunbaratu/repos","events_url":"https://api.github.com/users/Dunbaratu/events{/privacy}","received_events_url":"https://api.github.com/users/Dunbaratu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Dunbaratu/KOS-1","description":"Fully programmable autopilot mod for KSP. Originally By Nivekk","fork":true,"url":"https://api.github.com/repos/Dunbaratu/KOS-1","forks_url":"https://api.github.com/repos/Dunbaratu/KOS-1/forks","keys_url":"https://api.github.com/repos/Dunbaratu/KOS-1/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Dunbaratu/KOS-1/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Dunbaratu/KOS-1/teams","hooks_url":"https://api.github.com/repos/Dunbaratu/KOS-1/hooks","issue_events_url":"https://api.github.com/repos/Dunbaratu/KOS-1/issues/events{/number}","events_url":"https://api.github.com/repos/Dunbaratu/KOS-1/events","assignees_url":"https://api.github.com/repos/Dunbaratu/KOS-1/assignees{/user}","branches_url":"https://api.github.com/repos/Dunbaratu/KOS-1/branches{/branch}","tags_url":"https://api.github.com/repos/Dunbaratu/KOS-1/tags","blobs_url":"https://api.github.com/repos/Dunbaratu/KOS-1/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Dunbaratu/KOS-1/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Dunbaratu/KOS-1/git/refs{/sha}","trees_url":"https://api.github.com/repos/Dunbaratu/KOS-1/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Dunbaratu/KOS-1/statuses/{sha}","languages_url":"https://api.github.com/repos/Dunbaratu/KOS-1/languages","stargazers_url":"https://api.github.com/repos/Dunbaratu/KOS-1/stargazers","contributors_url":"https://api.github.com/repos/Dunbaratu/KOS-1/contributors","subscribers_url":"https://api.github.com/repos/Dunbaratu/KOS-1/subscribers","subscription_url":"https://api.github.com/repos/Dunbaratu/KOS-1/subscription","commits_url":"https://api.github.com/repos/Dunbaratu/KOS-1/commits{/sha}","git_commits_url":"https://api.github.com/repos/Dunbaratu/KOS-1/git/commits{/sha}","comments_url":"https://api.github.com/repos/Dunbaratu/KOS-1/comments{/number}","issue_comment_url":"https://api.github.com/repos/Dunbaratu/KOS-1/issues/comments{/number}","contents_url":"https://api.github.com/repos/Dunbaratu/KOS-1/contents/{+path}","compare_url":"https://api.github.com/repos/Dunbaratu/KOS-1/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Dunbaratu/KOS-1/merges","archive_url":"https://api.github.com/repos/Dunbaratu/KOS-1/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Dunbaratu/KOS-1/downloads","issues_url":"https://api.github.com/repos/Dunbaratu/KOS-1/issues{/number}","pulls_url":"https://api.github.com/repos/Dunbaratu/KOS-1/pulls{/number}","milestones_url":"https://api.github.com/repos/Dunbaratu/KOS-1/milestones{/number}","notifications_url":"https://api.github.com/repos/Dunbaratu/KOS-1/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Dunbaratu/KOS-1/labels{/name}","releases_url":"https://api.github.com/repos/Dunbaratu/KOS-1/releases{/id}","deployments_url":"https://api.github.com/repos/Dunbaratu/KOS-1/deployments","created_at":"2014-03-28T00:09:16Z","updated_at":"2016-02-10T21:17:15Z","pushed_at":"2016-02-26T05:29:17Z","git_url":"git://github.com/Dunbaratu/KOS-1.git","ssh_url":"git@github.com:Dunbaratu/KOS-1.git","clone_url":"https://github.com/Dunbaratu/KOS-1.git","svn_url":"https://github.com/Dunbaratu/KOS-1","homepage":null,"size":77614,"stargazers_count":1,"watchers_count":1,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":1,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/Dunbaratu/KOS-1/pulls/12"},"html":{"href":"https://github.com/Dunbaratu/KOS-1/pull/12"},"issue":{"href":"https://api.github.com/repos/Dunbaratu/KOS-1/issues/12"},"comments":{"href":"https://api.github.com/repos/Dunbaratu/KOS-1/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/Dunbaratu/KOS-1/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/Dunbaratu/KOS-1/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Dunbaratu/KOS-1/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/Dunbaratu/KOS-1/statuses/992d745ab5e0384bb8fb410aa9fa0d21d48bca61"}}}}